package com.lej.dataservice.club.http;

import com.lej.dataservice.club.http.coupons.CouponsRewardPopBean;

/**
 * 该类仅供参考，实际业务返回的固定字段, 根据需求来定义，
 */
public class BaseResponse<T> {
    private int code;
    private String msg;
    private T data;
    private CouponsRewardPopBean gold_popup;
    private int login_svip;//登录的用户的vip等级


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public T getResult() {
        return data;
    }

    public void setResult(T data) {
        this.data = data;
    }

    public String getMessage() {
        return msg;
    }

    public void setMessage(String msg) {
        this.msg = msg;
    }
    @Override
    public String toString() {
        return "BaseResponse{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                ", gold_popup=" + gold_popup +
                '}';
    }

    public int getLogin_svip() {
        return login_svip;
    }

    public void setLogin_svip(int login_svip) {
        this.login_svip = login_svip;
    }

    public CouponsRewardPopBean getGold_popup() {
        return gold_popup;
    }

    public void setGold_popup(CouponsRewardPopBean gold_popup) {
        this.gold_popup = gold_popup;
    }
}
